package cn.senjoeson.triper.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import cn.senjoeson.mylibrary.base.BaseRVAdapter;
import cn.senjoeson.triper.R;

/**
 * @author Android
 * @date 2018/1/10
 */

public class Test extends BaseRVAdapter<String,Test.ViewHolder> {


    @Override
    protected ViewHolder getViewHolder(View view) {
        return new ViewHolder(view);
    }

    @Override
    protected int setResId() {
        return R.layout.trip_list_item;
    }

    @Override
    protected void onBindData(ViewHolder holder, String s) {

    }



     class ViewHolder extends RecyclerView.ViewHolder{
        @BindView(R.id.iv)
        ImageView mIv;
        @BindView(R.id.tripName)
        EditText mTripName;
        @BindView(R.id.setDate)
        TextView mSetDate;
        @BindView(R.id.lineaarlayout)
        LinearLayout mLineaarlayout;
        @BindView(R.id.list_item_more)
        ImageView mListItemMore;
        @BindView(R.id.days)
        TextView mDays;
        @BindView(R.id.download)
        ImageView mDownload;
        @BindView(R.id.delete)
        ImageView mDelete;
        @BindView(R.id.more_select)
        RelativeLayout mMoreSelect;

        ViewHolder(View view) {
            super(view);
            ButterKnife.bind(this, view);
        }
    }
}
